package com.jch.helloworld.configBeans.spel;

public class Compare {

    private boolean eqVal;
    private boolean ltVal;
    private boolean gtVal;
    private boolean leVal;
    private boolean geVal;

    public Compare() {
    }

    public Compare(boolean eqVal, boolean ltVal, boolean gtVal, boolean leVal, boolean geVal) {
        this.eqVal = eqVal;
        this.ltVal = ltVal;
        this.gtVal = gtVal;
        this.leVal = leVal;
        this.geVal = geVal;
    }

    public boolean isEqVal() {
        return eqVal;
    }

    public void setEqVal(boolean eqVal) {
        this.eqVal = eqVal;
    }

    public boolean isLtVal() {
        return ltVal;
    }

    public void setLtVal(boolean ltVal) {
        this.ltVal = ltVal;
    }

    public boolean isGtVal() {
        return gtVal;
    }

    public void setGtVal(boolean gtVal) {
        this.gtVal = gtVal;
    }

    public boolean isLeVal() {
        return leVal;
    }

    public void setLeVal(boolean leVal) {
        this.leVal = leVal;
    }

    public boolean isGeVal() {
        return geVal;
    }

    public void setGeVal(boolean geVal) {
        this.geVal = geVal;
    }

    @Override
    public String toString() {
        return "Compare{" +
                "eqVal=" + eqVal +
                ", ltVal=" + ltVal +
                ", gtVal=" + gtVal +
                ", leVal=" + leVal +
                ", geVal=" + geVal +
                '}';
    }
}
